from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from Modules.RegisterMoudles import RegisterAciton


class testRegister:

    try:
        chromeDriver_path = 'E:\Python\chromedriver.exe'
        options = Options()
        options.add_argument('--start-maximized')
        wd = webdriver.Chrome(executable_path=chromeDriver_path, options=options)
        wd.get('http://www.cherryzqr.top/fsmarket/index.php')

        register = RegisterAciton()
        register.Register(wd,'cherry2','13333333331@163.com','A123456','A123456','13333333331')
    except Exception as e:
        raise e

if __name__ == '__main__':
    testRegister()
